UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The SSH client must be configured to not allow X11 forwarding.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22469 GEN005520 SV-26762r1_rule ECSC-1 Low
Description
X11 forwarding over SSH allows for the secure remote execution of X11-based applications. This feature can increase the attack surface of an SSH connection and should not be enabled unless needed. If this function is necessary to support a valid mission requirement, its use must be authorized and approved in the system accreditation package.
STIG Date
VMware ESX 3 Server 2016-05-13

Details

Check Text ( C-27771r1_chk )
Check the SSH client configuration for the X11 forwarding setting.
# grep -i ForwardX11 /etc/ssh/ssh_config | grep -v '^#'
If no lines are returned, or the returned setting has a value evaluating to yes, this is a finding.
Fix Text (F-24012r1_fix)
Edit the SSH client configuration and change or add the ForwardX11 setting to no.